#ifndef STOCKVIEW_H
#define STOCKVIEW_H

#include <QtGui>
#include <QList>
#include "core/baseview.h"
#include "core/stockmodel.h"

class StockView : public BaseView
{
    Q_OBJECT
public:
	explicit StockView(QWidget *parent, ItemModel *item);
    void initViewComponents();
    void initViewSignalsAndSlots();

signals:

public slots:
    void onDataUpdate(QList<BaseModel *> models);
    void onDetailsRequested(BaseModel *model);
    void onAddButtonClicked();

private:
	ItemModel *item;
};

#endif // STOCKVIEW_H
